<extend name="Public:base" />

<block name="head">
	<title>分类修改页</title>
</block>

<block name="body">
<p align="center">
	<h2>分类修改页</h2>
	<a href="{:U('index')}">分类主页</a>
</p>
<form action="../category/add" method="post">
	分类名称:<input type="text" name="c_name" value="{$info['c_name']}">
	<br />
	上级权限:<select name="parent_id">
				<option value="0">|--顶级权限</option>
				<volist name="cate" id="vo">
					<option value="{$vo.id}" <eq name="vo.id" value="$info.parent_id">selected="selected"</eq>>
						|{$vo.lev|str_repeat="--",###}{$vo.c_name}
					</option>
				</volist>
			</select>
	<br />
	是否推荐:<input type="radio" name="isrec" value="1" 
			<eq name="info.isrec" value="1">checked="checked"</eq>		  
			/>是
			<input type="radio" name="isrec" value="0" 
			<eq name="info.isrec" value="0">checked="checked"</eq>
			/>否
	<br />
	<input type="hidden" name="id" value="{$info['id']}">
	<input type="submit" name="提交">
</form>
</block>